public class PathPlanner {
    private PathStrategy strategy;
    
    public void setStrategy(PathStrategy strategy) {
        this.strategy = strategy;
    }
    
    public void executePathPlanning() {
        strategy.calculatePath();
    }
}